Libsdl_sound-framework version 1.0.3 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    libsdl_sound-framework  most recent diff


    version 1.0.3

      View the most recent changes for the libsdl_sound-framework port at: libsdl_sound-framework.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for libsdl_sound-framework.
      The raw portfile for libsdl_sound-framework 1.0.3 is located here:
      http://libsdl_sound-framework.darwinports.com/dports/audio/libsdl_sound-framework/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/libsdl_sound-framework


      # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
      The libsdl_sound-framework Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0
      PortGroup xcode 1.0

      Name: libsdl_sound-framework
      Version: 1.0.3
      Revision: 1
      Category: audio devel
      Maintainers: nox openmaintainer
      Description: handles decoding of several popular sound file formats

      Long Description: SDL_sound is a library that handles the decoding of several popular sound file formats, such as .WAV and .MP3. It is meant to make the programmer's sound playback tasks simpler.

      Homepage: http://icculus.org/SDL_sound/
      Master Sites: ${homepage}downloads/
      distname SDL_sound-${version}
      dist_subdir libsdl_sound

      Checksums: md5 aa09cd52df85d29bee87a664424c94b5 sha1 1984bc20b2c756dc71107a5a0a8cebfe07e58cb1 rmd160 8e56daa71f827a4a22e7071a4e4f37c21dd96105

      depends_lib port:libsdl-framework port:libogg port:libvorbis port:libmikmod

      post-extract {
      system "tar xzf $worksrcpath/PBProjects.tar.gz -C $worksrcpath"
      }

      Patch Files: patch-project.pbxproj.diff

      post-patch {
      set pbxproj ${worksrcpath}/${xcode.project}/project.pbxproj

      reinplace s| PREFIX |$prefix|g ${pbxproj}
      reinplace -E "/(MACOSX_DEPLOYMENT_TARGET|GCC_VERSION|SDKROOT)_ppc =/d" ${pbxproj}
      reinplace "s|~/Library/Frameworks|./build/Frameworks|g" ${pbxproj}
      reinplace "s|\$(HOME)/Library/Frameworks|${frameworks_dir}|g" ${pbxproj}
      }

      xcode.project PBProjects/SDL_sound.pbproj
      xcode.target Framework

      xcode.build.settings FRAMEWORK_SEARCH_PATHS=$prefix/Library/Frameworks INSTALL_PATH=$prefix/Library/Frameworks LIBRARY_SEARCH_PATHS=$prefix/lib

      xcode.destroot.type framework
      eval xcode.destroot.settings ${xcode.build.settings}

      universal_variant no

      livecheck.type regex
      livecheck.regex {SDL_sound (\d+(?:\.\d+)*)}

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/libsdl_sound-framework
      % sudo port install libsdl_sound-framework
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching libsdl_sound-framework
      ---> Verifying checksum for libsdl_sound-framework
      ---> Extracting libsdl_sound-framework
      ---> Configuring libsdl_sound-framework
      ---> Building libsdl_sound-framework with target all
      ---> Staging libsdl_sound-framework into destroot
      ---> Installing libsdl_sound-framework
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using libsdl_sound-framework with these commands:
      %  man libsdl_sound-framework
      % apropos libsdl_sound-framework
      % which libsdl_sound-framework
      % locate libsdl_sound-framework

     Where to find more information:

    Darwin Ports



    Lightbox this page.